// prevent help pre-impulse from triggering anything else
self.impulse = 0;
self.last_impulse = 0;
if (helpindex == TF_HELP)
TeamFortress_HelpIndex();
if (helpindex == TF_HELP_GENERAL)
TeamFortress_HelpGeneral();
if (helpindex == TF_HELP_CLASS)
TeamFortress_HelpClass();
if (helpindex == TF_HELP_WEAPON)
TeamFortress_HelpWeapon();
if (helpindex == TF_HELP_ITEM)
TeamFortress_HelpItem();
if (helpindex == TF_HELP_PREIMP)
TeamFortress_HelpPreImp();
if (helpindex == TF_HELP_PREIMP_SHOW)
TeamFortress_HelpShowPreImp();
if (helpindex == TF_HELP_IMP_SHOW)
TeamFortress_HelpShowImp();
if (helpindex == TF_HELP_SKIN)
TeamFortress_HelpSkin();
if (helpindex == TF_HELP_TEAM)
TeamFortress_HelpTeam();
if (helpindex == TF_HELP_TOGGLE)
TeamFortress_HelpToggle();
};
void() TeamFortress_MOTD =
{
local string ya;
// check if player already has aliases
if (self.motd == 17)
{
stuffcmd(self,"is_aliased\n");
}
if (self.motd <= 20)
{
self.motd = self.motd + 1;
return;
}
if (self.motd == 21)
{
if (self.impulse != TF_ALIAS_CHECK)
sprint(self,"\n\n\n");
// If you run this is a server, you're welcome to change to initial
// message here, but _please_ leave in the first line.
// display welcome
// sprint this bit so it gets put into the console log
sprint(self, "binding aliases...\n");
sprint(self,"Type helpme for Help. :)\n");
centerprint(self, "Welcome to TeamFortress! v1.2\nRobin Walker, John Cook, Ian Caughley.\n======================================\nType helpme for Help. :)");